import React from 'react';
import './index.scss';
import { Input, Tooltip, Icon, Button, message } from 'antd';

import AuthWraper from '@src/components/HOC/AuthWraper'


export default class View extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
            userList: [],

            has: false
        };
    }

    componentWillMount() {

    }


    render() {
        return (
            <div className="page_view_container">

                <br />
                <br />

                <Button type="primary">
                    新增用户
                </Button>

                <Button type="primary">
                    删除用户
                    </Button>

                <br />
                <br />

                <AuthWraper right_id={1000}>
                    <Button type="primary" >
                        新增用户
                    </Button>
                </AuthWraper>

                <AuthWraper right_id={1001}>
                    <Button type="primary">
                        删除用户
                    </Button>
                </AuthWraper>

            </div>
        );
    }
}